#ifndef TRANSFERFROMQTHREAD_H
#define TRANSFERFROMQTHREAD_H
#include <QThread>
#include "../wsim_client.h"
class TransferFromQThread: public QThread
{
    Q_OBJECT
signals:
    void message(const QString& info);
    void progress(int tfd,int ffd, int magic,int index);
public:
    TransferFromQThread(linkItem item,QObject* par);
    ~TransferFromQThread();
    void setSomething();
    void getSomething();
    void setRunCount(int count);
    void run();
    void doSomething();
private:
    int m_runCount;
    linkItem m_item;

    void transferFile();
    void transferPixmap();
};

#endif // TRANSFERFROMQTHREAD_H
